package team.yidong.fenda.wx.Service;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Service;
import team.yidong.fenda.entity.Master;

/**
 * Created by xuanlong on 2017/10/15.
 */
@Service
public interface WxMasterService {
    JSONArray findMaster(Integer id);

    Master findOne(Integer masterId);

    String addMaster(String userName, String password, String openId);

    JSONObject sumMasterScore(String openId);

    void updateMasterInfo(String wxNum, String headImg, String info, String password, String name, String goodAt);

    JSONObject findMasterInfo(String wxNum);

    String checkMasterIsBlack(String wxNum);
}
